﻿@{
    Layout = "~/Views/Shared/_SplashLayout.cshtml";
    ViewBag.Title = "Splash";
}

<div class="center">
    <h2>Welcome to Socialhood!</h2>
    <img src="~/Images/custom/funny.jpg" />

    <div id="not-show">
        @using (Ajax.BeginForm("SetSplashCookie", null, new AjaxOptions
    {
        HttpMethod = "POST",
    }, new { id = "cookie-form" }))
        {
            bool checkboxValue = false;
            @Html.CheckBoxFor(x => checkboxValue, new { @id = "checkbox_id" })
            <label for="checkbox_id">Do not show this again</label>
        }
    </div>
</div>
